import {request} from "../../request/index.js"

Page({
  data: {
    list: []
  },

  onLoad: function (options) {
    console.log(options)
    var list = JSON.parse(options.inWareHouseList)
    var that=this
    var item=null
    list.forEach(function (item, index) {
      console.log(item);
      that.setData({
        item: item
      })
    })
    that.setData({
      list: list
    })
  }
})